<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
                "http://www.w3.org/TR/REC-html40/loose.dtd">
<html>
<head>
  <title>Description of dataPlotsTest</title>
  <meta name="keywords" content="dataPlotsTest">
  <meta name="description" content="">
  <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
  <meta name="generator" content="m2html v1.5 &copy; 2003-2005 Guillaume Flandin">
  <meta name="robots" content="index, follow">
  <link type="text/css" rel="stylesheet" href="../m2html.css">
</head>
<body>
<a name="_top"></a>
<div><a href="../index.html">Home</a> &gt;  <a href="index.html">Code</a> &gt; dataPlotsTest.m</div>

<!--<table width="100%"><tr><td align="left"><a href="../index.html"><img alt="<" border="0" src="../left.png">&nbsp;Master index</a></td>
<td align="right"><a href="index.html">Index for Code&nbsp;<img alt=">" border="0" src="../right.png"></a></td></tr></table>-->

<h1>dataPlotsTest
</h1>

<h2><a name="_name"></a>PURPOSE <a href="#_top"><img alt="^" border="0" src="../up.png"></a></h2>
<div class="box"><strong></strong></div>

<h2><a name="_synopsis"></a>SYNOPSIS <a href="#_top"><img alt="^" border="0" src="../up.png"></a></h2>
<div class="box"><strong>This is a script file. </strong></div>

<h2><a name="_description"></a>DESCRIPTION <a href="#_top"><img alt="^" border="0" src="../up.png"></a></h2>
<div class="fragment"><pre class="comment"></pre></div>

<!-- crossreference -->
<h2><a name="_cross"></a>CROSS-REFERENCE INFORMATION <a href="#_top"><img alt="^" border="0" src="../up.png"></a></h2>
This function calls:
<ul style="list-style-image:url(../matlabicon.gif)">
</ul>
This function is called by:
<ul style="list-style-image:url(../matlabicon.gif)">
</ul>
<!-- crossreference -->



<h2><a name="_source"></a>SOURCE CODE <a href="#_top"><img alt="^" border="0" src="../up.png"></a></h2>
<div class="fragment"><pre>0001 m=length(LL3);
0002 figure()
0003 xlabel(<span class="string">'steps'</span>);
0004 ylabel(<span class="string">'crystal cluster size'</span>);
0005 hold on;
0006 <span class="keyword">for</span> i=1:m
0007     <span class="keyword">if</span> (nnz(LL3{i}&gt;0)&gt;0)
0008         plot(i,LL3{i}(LL3{i}&gt;0)',<span class="string">'x'</span>);
0009     <span class="keyword">end</span>
0010 <span class="keyword">end</span>
0011 
0012 
0013 crystalclusters=zeros(m,20);
0014 <span class="keyword">for</span> i=1:m
0015     <span class="keyword">for</span> j=1:20
0016         crystalclusters(i,j)=nnz(LL3{i}&gt;j);
0017             
0018         
0019     <span class="keyword">end</span>
0020 <span class="keyword">end</span>
0021 plot(y,fre1/4096,<span class="string">'b'</span>,1:1000000,frac3/4096,<span class="string">'r'</span>,1:1000000,frac2/4096,<span class="string">'g'</span>)
0022 xlabel(<span class="string">'Simulation Steps'</span>);
0023 ylabel(<span class="string">'Concentration'</span>)
0024 legend(<span class="string">'Free B'</span>,<span class="string">'B*'</span>,<span class="string">'B'</span>)
0025 title(<span class="string">'k_bT = 1 \chi_{AB} = -0.1 \chi_{AB^*} = 0.2 \epsilon = -0.5 \gamma= 0.5'</span>)</pre></div>
<hr><address>Generated on Mon 21-May-2012 09:54:18 by <strong><a href="http://www.artefact.tk/software/matlab/m2html/" title="Matlab Documentation in HTML">m2html</a></strong> &copy; 2005</address>
</body>
</html>